import request from "../utils/request.js"

// 点赞和收藏
export const getZnAndSc = (params) => {
  return request({
      url: '/user/userDataHandle',
      method: 'get',
      params,
  })
}
// 获取我的点赞
export const getZan = (params) => {
return request({
  url: '/user/userDataList',
  method: 'get',
  params,
})
}


// 获取我的收藏
export const getSc = (params) => {
return request({
  url: '/user/userDataList',
  method: 'get',
  params,
})
}

export const wenz = (params) => {
  return request({
    url: '/user/myArticle',
    method: 'get',
    params,
  })
  }

  export const shanwz = (params) => {
    return request({
        url: '/user/delArticle',
        method: 'get',
        params,
    })
  }